package com.webtest.fileupload;

import java.util.HashMap;
import java.util.Map;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2018/8/22 20:06
 */
public class FileUploadAppProperties {
    private static FileUploadAppProperties instance=new FileUploadAppProperties();
    private Map<String, String> properties = new HashMap<>();

    private FileUploadAppProperties() {
    }

    public static FileUploadAppProperties getInstance() {
        return instance;
    }

    public void addProperty(String property, String value) {
        properties.put(property, value);
    }

    public String getProperty(String property) {
        return properties.get(property);
    }
}
